<template>
  <van-nav-bar :title="title" :left-arrow="true" @click-left="pageBack"></van-nav-bar>
</template>

<script>
export default {
  name: "NavBack",
  props: ['title'],
  methods: {
    pageBack() {
      this.$router.back();
    },
  }
}
</script>

<style scoped>

</style>
